package com.example.demo.stream.collector;

import lombok.Data;

/**
 * @author MarioZzz
 * @create 2023-10-24 16:59
 */
@Data
public class Compute {

    public Double compute(int num) {
        return (double) (2 * num);
    }
}
